import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class EGCupertinoButton extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("iOS风格对话框"),
      ),
      body: Center(
          child: CupertinoButton(
        child: Text("按钮"),
        onPressed: () {},
        color: Colors.blue,
      )),
    );
  }
}
